squares and straight lines